<?php
    
    class ElementModalCreateDb extends Element {
        public function Render() {
            ?><div style="display: none;" class="modalwin">
                <br />
                <div class="holder">
                    Name: <input type="text" />
                </div>
                <br />
                <input type="button" value="Create" class="button create" onclick="Database.DoCreate( this.parentNode.getElementsByTagName( 'input' )[ 0 ].value );" />
                <input type="button" value="Cancel" class="button cancel" onclick="Modals.Destroy();" />
            </div><?php
        }
    }

?>
